home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 3 / Cream of the Crop 3.iso / comm / wnos5src.zip / CONVERS.H < prev    next >
Text File  |  1993-08-09  |  929b  |  24 lines

  1. #ifndef _CONVERS_H
  2. #define _CONVERS_H
  3.  
  4. struct permlink {
  5.   struct permlink *next;            /* Linked list pointer */
  6.   struct convection *convection;    /* Pointer to associated connection */
  7.   char name[40];                    /* Name of host */
  8.   char link_info[20];                  /* Name of socket to connect to */
  9.   char command[20];                     /* Optional connect command */
  10.   int tries;                           /* Number of connect tries */
  11.   int fd;                            /* socket descriptor */
  12.   int32 statetime;                  /* Time of last (dis)connect */
  13.   int32 waittime;                   /* Time between connect tries */
  14.   int32 retrytime;                  /* Time of next connect try */
  15. };
  16. #define NULLPERMLINK  ((struct permlink *) 0)
  17.  
  18. extern char *CHostname;
  19. extern struct permlink *Permlink;
  20.  
  21. void conv_incom __ARGS((int s, void *t, void *p));
  22. void connect_Permlink __ARGS((int a, void *b, void *c));
  23.  
  24. #endif /* CONVERS_H */